package com.uzai.console.service.merchant;

import com.uzai.console.dto.login.*;
import com.uzai.console.vo.login.LoginVo;

/**
 * @Auther: jianghan
 * @Date: 2019/12/13 10:18
 * @Description:
 */
public interface LoginService {
    /**
     * 手机登录
     * @param loginByPhone
     * @return
     */
    LoginVo loginByCode(LoginByPhone loginByPhone);

    /**
     * 账号密码登录
     * @param loginByPwd
     * @return
     */
    LoginVo loginByPwd(LoginByPwd loginByPwd);

    /**
     * 客服账号登录
     * @param loginByPwd
     * @return
     */
    LoginVo loginByKefu(LoginByPwd loginByPwd);

    /**
     * 通过token获取登录信息
     * @param token
     * @return
     */
    LoginVo getLoginVoByToken(String token);

    /**
     * 退出登录
     * @param
     * @return
     */
    void logout(String token);

    /**
     * 子账号密码登录
     * @param loginByChildAccountPwdDto
     * @return
     */
    LoginVo loginByChildAccountPwd(LoginByChildAccountPwdDto loginByChildAccountPwdDto);

    /**
     * 悠聊账号登录
     * @param loginByUzaiAccountPwdDto
     * @return
     */
    LoginVo loginByUzaiAccountPwd(LoginByUzaiAccountPwdDto loginByUzaiAccountPwdDto);

}
